<li class="dd-item" data-id="{{ $branch[$keyName] }}">
    <div class="dd-handle">
        {!! $branchCallback($branch) !!}
        <span class="pull-right action dd-nodrag layui-btn-group" data-field-name="_edit">
            <a href="/{{ $path }}/create/?{{ $parentColumnName }}={{ $branch['id'] }}" class="layui-btn layui-btn-xs layui-btn-primary">添加</a>
            <a href="/{{ $path }}/{{ $branch['id'] }}/edit" class="layui-btn layui-btn-xs">编辑</a>
            <a href="javascript:void(0);" data-id="{{ $branch['id'] }}" class="tree_branch_delete layui-btn layui-btn-xs layui-btn-danger">删除</a>
        </span>
    </div>
    @if(isset($branch['children']))
        <ol class="dd-list">
            @foreach($branch['children'] as $branch)
                @include($branchView, $branch)
            @endforeach
        </ol>
    @endif
</li>
